Stepup JSON param converter

To be merged into https://github.com/SURFnet/Stepup-Gateway/pull/7.
Fixed here e56116d.