refactored dependency keys to use component method

added json dependency key