Converting a Harbour hash into Javascript object