Fixed 500 error when calling /user/records
Set default content-type header as text