produce valid json

still needs conversion