Change module configuation files from json to php