ME: fixed wrong response error; changed the order of renderers to default to JSON
ME: return json format if format is not provided
ME: reverted back to initial changes; raise error when format is not json
Merge pull request #721 from onaio/636-chart-endpoint-returns-wrong-endpoint-via-curl

ME: fixed wrong response error; changed the order of renderers to default to JSON