utilities for parsing and working with jsonml in array form