Add support for searching json in functional tests

Add several methods for querying the json responses from the api