removing json as an option and using json mime type to identify