decorator for registering new JSON model types
model transformers for JSON (first: texreplace)