json utility functions

helpers to retrieve json objects