layerconvert (npm): flat object via rules
Keywords: flat|convert