Add application/json headers to all json.dumps results

This will resolve issue #2390, Proper content-type for json requests