Update .lists_as_hash and .lists_as_json to return an array