Convert from ObjC to Json