rest: Use push to append to arrays

append is not part of Ruby core. Breaks stuff in production.