Using JSON arguments for desired flexibility