Various helper methods for use with json objects and arrays of json objects