bugfix on routes ending with :wildcard, suppily original invalid json in error