I re-read through the documentation, slower this time and figured out what I was doing wrong.
I was trying to use processdata AND formatdata together which obviously doesn’t make sense!
I also need to send a bunch of custom filters.
I need to be able to send for example, the logged in user’s id to the server so that I can filter the data based on their access.