Prevents nan and infinity being parsed as numerical keys.
Merge pull request #2 from tessel/tcr-nan

Prevents nan and infinity being parsed as numerical keys.