prints json generated by ui