using PDO::FETCH_ASSOC to clean up json