sendign and object to the view, not and array, fixes #1