Fix object field types (#12)