Added method in JSONResponseMixin to serialize form errors and return 400 status code