parse nested param keys