Populate an HTML form's values from an object