Loading and saving with REST calls (sending JSON to server side)