default values only considered for inserted objects, fix in response serialization method, edit tests