Update buildhtmlclient.php

attributesToObject fn