Overwrite toJSON and save methods; added tests

overridde toJSON to pass a simple array to the server
override save() to always use PUT method