Fix issue with saving players as JSON causing stack overflow