prevent Rails exception when record not found
fixed incorrect json key for answers jbuilder template