allow to get lastmodified via tojson