changed RestParams to be Beanalicous