Slight pithos modifications

* Fix issue with JSON serialisation
* Add test for listing only objects that do not have specific metadata.