first steps to json integration. building interface for actions.