Revert From/ToHttpApiData NodeType instances

In my previous commit I had changed their implementation to use the
FromJSON/ToJSON istances, making sure those were backward compatible,
but apparently that wasn't the case.
4 jobs for adinapoli/issue-336 in 185 minutes and 53 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Cabal
passed #12446
cabal

01:35:37

 
  Stack
passed #12447
stack

00:04:02

 
  Bench
manual #12448
allowed to fail manual
bench
 
  Test
passed #12449
test

01:26:13