there's no as_json method on Array ... or have I misunderstood?