json should be infered
cleanup