fix json_spec for iOS