Hack for optimizing create and update when having fields of type 'phpcr_document'.