minor refactoring
enabled json mapping of parameterised statements directly