replaced json code with maven repo reference