adjust sample composer file
allow user to choose extension api type and use the information to correctly write proper composer.json values (or not)