added default format json and email validation regex