make upcast build print the json map