Convert Java .properties to JSON