private static JaxbJsonSerializer<Map<String, String>> getPropsSerializer() {
        return new JaxbJsonSerializer<>((Class<Map<String, String>>) (Object)
            new HashMap<String, String>().getClass());
    }
private static JaxbJsonSerializer < Map < String , String > > getPropsSerializer ( ) { return new JaxbJsonSerializer < > ( ( Class < Map < String , String > > ) ( Object ) new HashMap < String , String > ( ) . getClass ( ) ) ; }
/*
Creates a serializer for properties
Note: The odd string of casts is necessary to make the command-line
compiler happy.