Refactoring. Use fromJson for store fulfilment.