A python decorator built for flask to check Content-Type and JSON formatting.