swap json buttons around