modifications to get_assertion_properties method to return a json object to get_image_for_assertion method and utilize the json object to return an image of the assertion