Added additional input methods for raw json conversion and raw bytes