parse nested arrays from get parameters