Got pl api
works with local teest
needs to get the nested values

JsonServlet takes hook
Added javadoc