Adopted to changes in JCRResourceSerializer interface