Add new json based http response to be used for both positive and negative http responses. Convert all regular http responses to the new method.