parameterizing and json lib rendering used