Minor changes to format examples.
Refactored dispel_core to work with new json_api.
PoC and stub, but working version of dispel.