Allow returning extra data in Resource.get_objects + test