Gracefully handle RuntimeError raised during parameter validation in fail_json. Fixes: #115 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>