added fromJson() static method to ArrayHelper and changed getBodyAsArray() in the Couch class to use it