Removed sending $t {simple_date} from json response
Added ability to set/remove attributes if type of attribute is boolen