Added support to parse mapping configuration from a string.