Updated javadoc for json and xml path