fixed save method for object instances via POST http method