try using customized version of johnstevenson/json-works