trying to use cosmos sdk to build a cagnotte application. When executing codec.encodeReflectJSON i find this error. How can we register a concrete type?