Minor whitespace and comment cleanup.
Added method to convert from scala object to java objects.

This method will be needed for a forthcoming sample where a variant is modified and written back to the variant store.