Return correct object count in jsonapi/read
Fixes, towards tests passing