avoid empty answer json object