Implemented .data() to get the entire data object. Closes #4284