'Creates a serializable JSON representation of an AccessResponse object.
Returns:
dict: JSON representation'

def to_json(self):

    return {'has_access': self.has_access, 'error_code': self.error_code, 'developer_message': self.developer_message, 'user_message': self.user_message}
