change plugin.json to remoev empty [] and convert integer to string type