Implement string-map parsing