auto append extension namespace to composer.json file

Signed-off-by: ahmadshah <ahmadshahhafizan@gmail.com>