Extend smart.json.