proper #save_occupancies

there were two things missing:
  - #to_json needs to be called on the data PUT  to the service
  - the code still used a GET instead of a PUT