Module controllers exit() on error JSON

Module controllers exit() on error JSON