custom toJSON to reduce gamestate