trouble with php to javascript json from sql