Returning 'status' and 'data' in the json.
    The error message is no longer returned as 'error' but as 'data'.

Returning 'status' as well as setting an http status code is a little
redundant but is what the legacy integration point is designed around.