Add object support to ruby client