fixing json methods -- can't use simplejson for django objects
adding tests for api.deleteCollection and api.getCollection