change data dictionary to <string, string>
add a serialization test