custom support for parsing things with __json__