adding arrays to jsons objects