It's shared with the next route, but I think factoring it into its own file would just confuse the code in this case. The object is small (3 attributes) and is only used in this file.