player id moved back to JSON conversion