Fixes #45. Only worked for registration types starting from id 1.

Using a JSON map to identify which price is selected.