do not cast hash to string in parse_value
add error catching for source validation
Merge pull request #18 from mlitwiniuk/master

Add error catching for source validation, do not cast hash to string in parse_value method.