Return JSON object in error responses
Merge pull request #24 from ebu/error_responses

Return JSON object in error responses