add default value for restful property