Added status codes to json