Use OCP\JSON as in enable.php

Let's be more consistent