Fixed resolveValue method to use recursion for sanitization
Merge pull request #19 from mertenvg/fix/issue-18

Fixed resolveValue method to use recursion for sanitization