Library: add JSON object binding