Fixed issue #51 where debug log would error when only array returned in response