Firefox and IE seem to have a problem with this, but I'm not sure where.
Chrome is fine.
Try to explicitly specify return as json.