supports Object#to_json options