enhanced build_rpc to allow for multiple tags at the same level - comma separated