Updated for meteor serialization, object to dictionary