fixed bug in BaseJSONView that prevented to set HTTP status code