Outsourcing to json val lib