Created a JSON resource loading abstraction

JSON file resources are specified by id. The Type of JSON file used by
the app is easily configurable and therefore testable.