default values for pub and priv keys should be string to avoid concatenation with undefined