Mapping between json and objc