modified composer, change to json array