Update component.json

Fix for component installation (currently broken);
Updated to comply with new component;
Backward compatibility for old component.