Add support for when FB returns not JSON as a response in a JSON api