changed json variables to camelcase, completed the api documentation