add functions for easier json object/array access