props2json is a command line utility / library to convert java properties to json representation.