fix for maps params, support multiline and case-insensitive

Change-Id: I5c851bb2122135da6f3b138a5e076158bb50d085