Use Ironic exceptions and json