java. Json format tests, fixed #94.