decorate query parameters

@fosdev please review.