recursive json to ostruct parser