Removed calls to getProperty(Property.JCR_MIMETYPE) as it seems this is not accessible (could be handled by the server…)