turns out there is no need for toAPIJSON