Mark unused parameters in objToJSON
If compiled with `-Wextra` you get 58 warnings; this brings things down to 2 and I think helps the reader
i take it these cant just be removed because they're callbacks and need to have a standardized signature? For the most part yes LGTM sure