Read some configs from json