in reply to quote in json
{"firstname":John} [download]
Is not valid JSON. If you want to return something that isn't valid JSON, don't use the JSON module.
Update: link to jsonlint.com.