Splitting out player and json utilities