added json-api plugin