fix for issue where data is incorrectly acquired when there is a "length" field due to underscore's ducktyping