updated tests to new json format
new json proto format
updated docs