attempt at an easy way to change layout of json object, still need to handle arrays and field generation