simply test for entity existence
refine some logic around state for entity listing
fix entity encoding test
fix vector push of Json::Value object in fetchRelationPrefix
flesh out test for relation encoding