Changing from '?' it '|' as parameter separator as I wanted to use ? in content.
Changed plugin load order and return type to get output to get parsed by dokuwiki's formatting so function could return, say, header sections and get formatted properly