Pull in edits to allow getData to take an array

@d3vit Being nit-picky, but can you update this to match the other indentations of this file?