Add method to transform string keys into symbols keys, refactor create