updated with REST JSON in a order where REST end point is expecting