JSON plugin: Marked some member functions const