move endgame config from bottom to top of JSON config object