Binary safe json inputs