Added convenience method for mapping from serialized data