updated json serilizer to return defaults

use enum text instead of number