Added JsonExceptionListener that returns api errors response as a json