serialize data-attrs into request url