I am changing my json objects to json arrays because of a mistake