Issue #113, split json_response into two functions 

json_response_string creates a response from a string message and json_response_dict creates a response from a dictionary of data. The function calls to json_response in auth.py have been changed to json_response_string and json_response_dict.
Let's rename this variable to `message` to be more descriptive, and rename the function to be `json_response_from_message`