Started implementing functions for converting JSON to game data types.