Native code to match the JSON format