I'm worried about the performance impact of this when used with a DataSchema parser. To alleviate that, I would recommend:
1. extracting the logic in the conditional to a cached, dynamically built parser function
2. switch the conditional to `if (config && typeof data === 'string') {` to avoid function hops for Lang functions. The truthy check against `config` vs explicit `isObject()` test is a reasonable tradeoff to avoid causing performance degradation at scale.

See https://gist.github.com/lsmith/5417052