Fix the Java JSON documentation

Fix for https://github.com/playframework/playframework/issues/1767