Added support for JsonArray deserialization

This should fix issue #318