Adding in support for JSON
Wrapping in begin