Fixed bug that was printing boolean values as 1 and 0 instead of true and false for JSON responses;