added test for array values

build_rest_payload shold allow array values in order to allow params
like 'itemFilter'