Adding json output for the java prototypes.  Created a simple JSON string builder lib so its easier to build the JSON strings.