it prints out json format