minor cosmetic changes
fix json mime type