Move parse_zg_member method into fn scope

As per recommendation in SoCo/SoCo#235.