Fix issues with java properties parser. Add DumpTextWithToString annotation.