Fix up data-fixup
Fix pep8 test
Use flask.json
GEORDI-16: split out the API into a blueprint