Implementation of the EZID identifier services in a Java library