Print full error in JSON API