api: added query int and boolean from json properties
added requirement checks for bytecode json api