Add loadjson parser function

Takes in a filename as an argument and returns the native data structure