converts json file to citadel json format using Groovy+Java