update to identify #hash using json data structure, not text parsing