Would you be willing to release this code as open source so @mbcahyono can submit a PR for this feature?