drupal_json_output() output ascii
drupal_json_output actually echos out the code its self so you don't need to return it's output, but you do need to exit after calling it:

drupal_json_output($output);
drupal_exit();


I'm not sure if this will fix your problem but certainly won't hurt...