Loading modules from JSON