Altered get_array() so it only iterates once through the array (rather than using fson_value_get()), to speed it up for large arrays