Perhaphs add a sub that takes an instance that can actually return a structure that only includes items that we want in the output: ``` multi sub to-json ( $_ where *.can('TO_JSON') ) { to-json .TO_JSON } ``` see: https://stackoverflow.com/questions/53110521/perl6-class-to-json-exclude-properties/53120677#53120677