model-extension used in fabrique to work with json-files.