json formatted error in case of not found mapping