extract questions json in separate file