(#4561) Support structured facts

Stop stringifying facts.