handle special words

Special words like constructor cause exceptions
Use _.has to check if property exists
Merge pull request #1 from salzhrani/patch-1

Guard against special words