Added JSON map UDF
Fixed check for args