utility to gather simple extractions from json