Fix json parsing for non numeric numbers (nan and inf)

This PR fixes #1893 by disabling ``QUOTE_NON_NUMERIC_NUMBERS`` for arrays' json generators and enabling ``ALLOW_NON_NUMERIC_NUMBERS `` for arrays' json parsers. Although this is documented to result in non-conformant json output I guess it is still OK as the json representations of collections are used internally (see http://wiki.fasterxml.com/JacksonFeaturesGenerator)
To fix #1893 I thought about either disabling this OR handling the nan/inf strings while parsing the doubles. I know that this produces non-conformant output, but this also lets us not to handle nan/inf separately in other parts of the code. And I thought like it may be OK as the json representations of arrays/maps are internal.