small fixes

translate _ to - in property names

run to_a on returned GirFFI::SizedArray