Reorders JSON fields.