Prevent redundant copies when pulling in queried data-points

Prevents the need of copying all the data-points in-mem before passing them to json decoder.