Add regression tests

Signed-off-by: Dean Pehrsson-Chapman <dean@p14n.com>
Stop converting to json strings, map data structure straight into vertx json objects

Signed-off-by: Dean Pehrsson-Chapman <dean@p14n.com>
All tests working and type hints in

Signed-off-by: Dean Pehrsson-Chapman <dean@p14n.com>
Whitespace.
Minor cleanup and renaming.