Fix for issue #709. Handling arrays of longs while converting from Json.