GROOVY-6822: Rewrite the JsonBuilder implementation
GROOVY-6822: Added javadoc for constructors.