Rename JSON response creation functions
Add some documentation on the API to the README