I have an API that always answers with an associative array where there is only one entry with key "data" containing the final result. The result can be an object