Add support for searching json in functional tests

Add several methods for querying the json responses from the api
Fix .editorconfig indent to only be 2 spaces.