added unset, chaining and toJSON on model