json to shape to json merged