Json API dsl wrapper

No global execution context
Format strings

Better error handling

Better error handling