ME: added a template file
ME: added better handler for non-json extension request on charts
ME: added a test case for non json request to chart api without field name argument