Added the create object from array keys method