stop checking for pure json equality

will prevent this spec from being flaky
wrap arrays in brackets for flaky spec
Merge pull request #618 from Tahi-project/flaky-api-paper-spec

stop checking for pure json equality