A basic callback_plugin to output to json