rough parsing of json