validator now handles json encoding and sends the dpla url