Add the changes to make the collection selected when create a new version
Exception Handling and Consistent pid formatting
Adjust Error return type to support empty body