Tried returning a struct deserialized to json.