records: display tabs

(closes #1646)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
remove empty line and sort imports according to PEP8