jsonparser: allow the use of generic parser related options

This opens the possibility to use the template() option to specify
the input for the parser.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>