When getting values from json data, it would be useful to have a default value option to use if the key is not found. It may also be useful to have a corresponding Boolean indicating if the key was found or default data was used without throwing an error - that way you wouldn't have to handle the default value case, but you could.