make using concrete types from the json files an optional parameter