use array to build string, allow params without values
Merge pull request #1 from coolaj86/patch-1

use array to build string, allow params without values