Remove unused JSON endpoints

These were generated by scaffolding.
Tidy code to follow GDS styleguide