Put config in JSON