This bug confused me because I was accidentally returning a json object and it was throwing strange errors. /bounty $8