Revert "removed pgrest from Samples"

This reverts commit c32be345ad10170aa2e0b411014509df8ca5f991.
replaced nulls with empty strings to allow sorting