Plugin to flat the JSON object